<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>04_背景尺寸</title>
    <style>
        .box {
            width: 600px;
            height: 600px;
            background-color: #333;
            background-image: url(./images/kobe01.jpg);
            background-repeat: no-repeat;
            /* background-size: 100% 100%; */
            /* background-size: 100px;   */
            background-size: auto auto;
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>